﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Markup;
using System.Windows.Data;
using System.Windows.Media;
using System.Xml;
using System.Xml.Serialization;

namespace VideoReflector.Converters
{
    /// <summary>
    /// Base class for converters which derives from MarkupExtension and allows
    /// simplified syntax for referral to converter objects in XAML
    /// </summary>
    public abstract class ConverterWithMarkupExtension : MarkupExtension
    {
        public override object ProvideValue(IServiceProvider serviceProvider)
        {
            return this;
        }
    }
}
